package cn.sh.library.mgts.bean;

import java.util.Map;
import com.google.gson.Gson;

import cn.sh.library.mgts.dto.Pager;

public class SearchMap {
	private String freetext;
	private Map<String, String> search;
	private Map<String, String> sort;
	private Pager pager;
	private Map<String, String> limit;
	private Map<String, String> client;


	public String getFreetext() {
		return freetext;
	}
	public void setFreetext(String freetext) {
		this.freetext = freetext;
	}
	public Map<String, String> getClient() {
		return client;
	}
	public void setClient(Map<String, String> client) {
		this.client = client;
	}
	public Map<String, String> getLimit() {
		return limit;
	}
	public void setLimit(Map<String, String> limit) {
		this.limit = limit;
	}
	public Map<String, String> getSearch() {
		return search;
	}
	public void setSearch(Map<String, String> search) {
		this.search = search;
	}
	public Map<String, String> getSort() {
		return sort;
	}
	public void setSort(Map<String, String> sort) {
		this.sort = sort;
	}
	public Pager getPager() {
		return pager;
	}
	public void setPager(Pager pager) {
		this.pager = pager;
	}

	public String toString() {
		return new Gson().toJson(this);
	}
}
